<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
  pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<title>产品查询</title>
<c:import url="/ctrl/header"></c:import>
<link href="/styles/thickbox.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/scripts/thickbox.js"></script>
<script type="text/javascript" src="/scripts/product/list.js"></script>
</head>
<body>
  <div class="container">
    <c:import url="/ctrl/top">
      <c:param name="subId">
        <c:out value="${subId}" />
      </c:param>
    </c:import>
    <div class="content">
      <table id="datagrid_list"></table>
      <div id="tb" style="padding: 5px">
        <div style="margin-bottom: 5px">
          产品名称&nbsp;<input id="pname" name="pname" type="text"
            style="width: 160px" />&nbsp;&nbsp;有效期&nbsp;<input
            id="pbegin" name="pbegin" class="easyui-datebox"
            style="width: 100px" data-options="onSelect:onSelectBegin" />&nbsp;-&nbsp;
          <input id="pend" name="pend" class="easyui-datebox"
            style="width: 100px" data-options="onSelect:onSelectEnd" />&nbsp;&nbsp;保单类型&nbsp;<select
            id="ptype" name="ptype"><option value=""></option>
            <c:forEach var="insType" items="${insTypeList}">
              <option value="<c:out value="${insType.index}" />"><c:out
                  value="${insType.name}" /></option>
            </c:forEach></select>&nbsp;&nbsp; <a href="javascript:void(0);"
            class="easyui-linkbutton" iconCls="icon-search"
            onclick="searchit();">查询</a>&nbsp;&nbsp; <a
            href="/product/detail?keepThis=true&amp;TB_iframe=true&amp;height=500&amp;width=850"
            class="easyui-linkbutton thickbox" iconCls="icon-add">添加产品</a>
        </div>
      </div>
    </div>
  </div>
</body>
</html>